<?php
/**
 * 生成静态-重新生成首页
 * @final
 */
class Staticizer_Apps_Tool_Index extends Staticizer
{
    public function Build($param=NULL)
    {
        #第一块
        //广告条1
        StaticizerFactory::Create('index_advertisement')->Build(1);
        //供应信息
        StaticizerFactory::Create('index_supply')->Build();
        //采购信息
        StaticizerFactory::Create('index_procurement')->Build();
        //产品超市
        StaticizerFactory::Create('index_supermarket')->Build();


        #第二块
        //船厂订单
        StaticizerFactory::Create('index.shipyard_ordersheet')->Build();
        //船配订单
        StaticizerFactory::Create('index.ancillary_ordersheet')->Build();
        //诚信供应商
        StaticizerFactory::Create('index.member_supplier_integriry')->Build();
        //最新加入企业
        StaticizerFactory::Create('index.member_latest')->Build();
        //广告条2
        StaticizerFactory::Create('index.advertisement')->Build(2);


        #第三块
        //头条新闻
        StaticizerFactory::Create('index.headline')->Build();
        //推荐新闻
        StaticizerFactory::Create('index.recommend')->Build();
        //热点排行
        StaticizerFactory::Create('index.ranking')->Build();
        //船舶
        StaticizerFactory::Create('index.shipyard')->Build();
        //船配
        StaticizerFactory::Create('index.ancillary')->Build();
        //船运
        StaticizerFactory::Create('index.shipping')->Build();
        //数据
        StaticizerFactory::Create('index.data')->Build();
        //广告3
        StaticizerFactory::Create('index.advertisement')->Build(3);
        //访谈
        StaticizerFactory::Create('index.interview')->Build();
        //专题
        StaticizerFactory::Create('index.topic')->Build();
        //观察
        StaticizerFactory::Create('index.observe')->Build();


        #第四块
        //最新加入船厂
        StaticizerFactory::Create('index.member_dockyard')->Build();
        //DM杂志
        StaticizerFactory::Create('index.dm')->Build();
        //期刊
        StaticizerFactory::Create('index.ejournal')->Build();
        //广告4
        StaticizerFactory::Create('index.advertisement')->Build(4);

        #第五块
        //行业展会
        StaticizerFactory::Create('index.exhibition')->Build();
        //友情链接
        StaticizerFactory::Create('index.partner')->Build();
        //友情链接
        StaticizerFactory::Create('index.link')->Build();
    }
}
?>
